package com.bxshey.happyTown.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bxshey.happyTown.dto.user.UpdateDto;
import com.bxshey.happyTown.entity.User;
import com.bxshey.happyTown.vo.user.QueryOpenidVO;
import org.springframework.web.multipart.MultipartFile;


/**
 * (User)表服务接口
 *
 * @author makejava
 * @since 2024-01-03 22:42:46
 */
public interface UserService extends IService<User> {

      //根据openId查询用户信息
      QueryOpenidVO queryOpenID(String openID);


      //修改用户信息
      Integer update(UpdateDto user);

      //上传头像
     String updateAvatar(MultipartFile file);


}
